home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 4
/
United Public Domain Gold 4.iso
/
fredfish
/
ff.0388.dms
/
ff.0388.adf
/
Free
/
Makefile
< prev
next >
Wrap
Makefile
|
1990-10-23
|
830b
|
31 lines
#############################################################################
# Makefile for FREE2 by Daniel Barrett.
# Intended for Manx Aztec C version 5.0a.
#############################################################################
PROGRAM = free
SRC = dos.c env.c errors.c getopt.c main.c output.c strings.c
OBJ = dos.o env.o errors.o main.o output.o strings.o
FREEOBJ = $(OBJ) getopt.o
INC = free.h
COMP_INC = headers.comp
LIBS = -lc
OPTIMIZE = -so
DEBUGGING =
CFLAGS = $(OPTIMIZE) -hi $(COMP_INC) $(DEBUGGING)
LFLAGS = +Q
$(PROGRAM): $(COMP_INC) $(FREEOBJ)
ln $(LFLAGS) $(FREEOBJ) -o $(PROGRAM) $(LIBS)
$(COMP_INC): free.h
cc $(OPTIMIZE) -ho $(COMP_INC) free.h
$(OBJ): $(INC)
getopt.o: getopt.c
cc $(OPTIMIZE) $(DEBUGGING) getopt.c -o getopt.o
clean:
delete $(FREEOBJ) $(COMP_INC) $(PROGRAM).dbg